learnt to halve a number